/* Reset 样式 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 背景设置 */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Arial', sans-serif;
    background-image: url('../img/img.jpg'); /* 替换为您的背景图片 URL */
    background-size: cover; /* 确保背景图片覆盖整个页面 */
    background-position: center; /* 背景居中 */
}

/* 主容器样式 */
.auth-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

/* 表单容器 */
.form-container h2 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

/* 表单样式 */
form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

label {
    text-align: left;
    font-weight: bold;
    color: #ddd;
    margin-bottom: 0.3rem;
}

input[type="text"],
input[type="password"] {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

/* 按钮样式 */
.btn {
    padding: 0.8rem;
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

/* 链接样式 */
p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

p a {
    color: #A5D6A7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

p a:hover {
    color: #fff;
}

#captcha img{
    height: 80%;
}

